package com.o2o.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * package_name:com.o2o.controller
 * Author:徐亚远
 * Date:2019/12/23 11:21
 * 项目名:o2o
 * Desription:
 **/
@Controller
@RequestMapping(value = "/frontend",method = RequestMethod.GET)
public class FrontendController {

    @RequestMapping(value = "/index",method = RequestMethod.GET)
    private String index(){
        return "frontend/index";
    }

    @RequestMapping(value = "/shoplist",method = RequestMethod.GET)
    private String listShop(){
        return "frontend/shoplist";
    }

    @RequestMapping(value = "/shopdetail",method = RequestMethod.GET)
    private String shopDetail(){
        return "frontend/shopdetail";
    }

    @RequestMapping(value = "/productdetail",method = RequestMethod.GET)
    private String productDetail(){
        return "frontend/productdetail";
    }
}
